// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false
import axios from 'axios';
import $ from 'jquery'
Vue.prototype.axios = axios;
import iView from 'iview';
import 'iview/dist/styles/iview.css';
Vue.prototype.siteUrl = location.origin
Vue.prototype.siteImageUrl = location.origin + "/public/uploads/"

/* eslint-disable no-new */
Vue.use(iView);
new Vue({
    el: '#app',
    router,
    template: '<App/>',
    components: { App }
})
